//引入初始化样式文件
import '@/styles/common.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'


//引入懒加载指令并祖册
import {lazyPlugin} from  '@/directives'
import App from './App.vue'
import router from './router'

const app = createApp(App)

//测试接口函数
import {getCategory} from '@/apis/testApi'
getCategory().then(res => {
    console.log(res)
})

app.use(createPinia())
app.use(router)
app.use(lazyPlugin)
app.mount('#app')



